package cn.zhiran.system.service.impl;

import cn.zhiran.basic.query.BaseQuery;
import cn.zhiran.basic.service.IBaseService;
import cn.zhiran.basic.service.impl.BaseServiceImpl;
import cn.zhiran.basic.util.PageList;
import cn.zhiran.system.domain.SystemDictionaryType;
import cn.zhiran.system.mapper.SystemDictionaryTypeMapper;
import cn.zhiran.system.service.ISystemDictionaryTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
public class SystemDictionaryTypeServiceImpl extends BaseServiceImpl<SystemDictionaryType> implements ISystemDictionaryTypeService{
    @Autowired
    private SystemDictionaryTypeMapper systemDictionaryTypeMapper;


    @Transactional
    @Override
    public void update(SystemDictionaryType systemDictionaryType) {
        systemDictionaryTypeMapper.update(systemDictionaryType);
    }

    @Transactional
    @Override
    public void insert(SystemDictionaryType systemDictionaryType) {

        systemDictionaryTypeMapper.insert(systemDictionaryType);
    }



}
